/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author pipo
 */

package mainGame;

public class Trap extends Trainer {
    
    private int coorX , coorY;
    private boolean isRevealed;
    
    public Trap(int X, int Y , Pokemon p)
    {
        
        super(X,Y, p.getName() );
        this.addPokemon(p);
        this.coorX = X;
        this.coorY = Y;
        this.isRevealed = false;
    }
    
    public void reveal()
    {
        this.isRevealed = true;
    }
    
    public boolean IsRevealed()
    {
        return this.isRevealed;
    }

    
}
